﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsCtrl.ascx.cs" Inherits="NguyenHoa.Web.Controls.NewsCtrl" %>
<link href="../css/startStopSlider.css" rel="stylesheet" type="text/css" />

<script src="../Scripts/startstop-slider.js" type="text/javascript"></script>

<div style="padding-top: 30px;">
	<div id="ss-slider">
		<div id="ss-mover">
			<asp:Repeater ID="rptNews" runat="server">
				<ItemTemplate>
					<div class="ss-slide">
						<span>
							<%#Eval("Title") %>
						</span>
						<p>
							<%#Eval("Summary") %>
						</p>
						<a href="NewsDetailPage.aspx?t=N&id=<%#Eval("Id") %>&tid=<%#Eval("CategoryId") %>">
							<%=GetGlobalResourceObject("Strings", "ViewDetail") %>
						</a>
						<img src="../<%#Eval("ImagePath") %>" alt="" height="120" />
					</div>
				</ItemTemplate>
			</asp:Repeater>
		</div>
		<ul id="ss-number">
		</ul>
	</div>
</div>
